﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dotUML.Core.Common
{
    /// <summary>
    /// IError defines the interface of a dotUML error.
    /// </summary>
    public interface IError
    {
        /// <summary>
        /// Error type.
        /// </summary>
        EErrorType ErrorType
        {
            get;
            set;
        }

        /// <summary>
        /// Text message, which describes the error.
        /// </summary>
        string ErrorMessage
        {
            get;
            set;
        }
    }
}
